<?php

namespace App\Models\Dynamic;

use App\Models\BasicModel;
use App\Models\User;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class Tag extends BasicModel
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'dynamic_tag';

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id', 'id');
    }

}
